<div class="replication-page" data-test-replication-page>
  {{#if isLoadingData }}
    <LayoutLoading />
  {{else}}
    {{yield
      (hash
        header=(component 'replication-header'
          data=model
          title=formattedReplicationMode
          isSecondary=isSecondary
          secondaryId=replicationDetails.secondaryId
          isSummaryDashboard=isSummaryDashboard
          isDisabled=isDisabled
        )
        dashboard=(component
          'replication-dashboard'
          data=model
          isSecondary=isSecondary
          isSummaryDashboard=isSummaryDashboard
          replicationDetailsSummary=replicationDetailsSummary
          replicationDetails=replicationDetails
          clusterMode=clusterMode
          reindexingDetails=reindexingDetails
        )
        isDisabled=isDisabled
        message=message
      )
    }}
  {{/if}}
</div>
